// 引入外部依赖项
import Vue from 'vue'
import App from './App';
import store from '@/vuex'
import router from "@/routes"
import VueCookie from 'vue-cookies'
import axios from 'axios'
Vue.prototype.$axios=axios;
import 'ant-design-vue/dist/antd.css'
import Element from 'ant-design-vue'

// 定义Vue及注入Bus总线
Vue.prototype.$bus = new Vue();

// 使用antdvUI库插件
Vue.use(Element);

// 引入CSS
import '@/assets/bootstrap/dist/css/bootstrap.css'
import '@/assets/stylesheets/WebPageReset.css'
import '@/assets/stylesheets/WebCustomFramework.css'
import '@/assets/stylesheets/WebCurrencyAnimation.css'
import '@/assets/stylesheets/WebNav.css'
import '@/assets/stylesheets/font-awesome.css'
import '@/assets/scss/index/index.css'

// 引入JS
import '@/assets/jquery/dist/jquery.js'
import '@/assets/popper/dist/popper.js'
import '@/assets/popper/dist/esm/popper.js'
import '@/assets/popper/dist/umd/popper.js'
import '@/assets/bootstrap/dist/js/bootstrap.js'
import '@/assets/javascript/echarts.min.js'

// 取消生产状态调试信息生成
Vue.config.productionTip = false

// 引入VueCookie
Vue.use(VueCookie)

new Vue({
    store,
    router,
    render: h => h(App),
}).$mount('#App')
